package org.god.batis.utils;

import java.io.InputStream;

public class Resources {
    private Resources() {
    }

    /**
     * 从类路径中加载文件输入流
     *
     * @param name
     * @return
     */
    public static InputStream getResourceAsStream(String name) {
        return ClassLoader.getSystemClassLoader().getResourceAsStream(name);
    }
}
